<template>
  <view class="fixedTop"
        :style="{
					height: $wanlshop.wanlsys().height + 'px',
					paddingTop: $wanlshop.wanlsys().top + 'px'
				}">
    <view class="top-nav-box">
      <view class="back-icon-box left">
        <view class="back-icon margin-right-bj text-xl" @tap="handleBack">
	        <text class="wlIcon-fanhui1"></text>
        </view>
      </view>
      <view class="nav-center" style="font-size: 26rpx">{{title}}</view>
	    <view class="back-icon-box right">
		    <view class="back-icon">
		    </view>
	    </view>
    </view>
  </view>
</template>

<script>
export default {
  props:{
    shareContent:'',
    sale:'',//销售数量
    askus: {
      type:Boolean,
      default:false
    },
    title:''
  },
  data() {
    return {
    };
  },
  created() {
  },
  methods: {
	  handleBack(){
      uni.switchTab({
        url: "/pages/user"
      });
    }
  }
};
</script>

<style lang="scss">
.top-button {
  box-sizing: border-box;
  padding: 24rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  .cancel {
    // color: white;
    background-color: #fafafa;
    padding: 8rpx 14rpx;
    border-radius: 8rpx;
  }
  .conform {
    background: #DBC15F;
    padding: 0rpx 12rpx;
    border-radius: 6rpx;
    color:#Fff;
    height: 50rpx;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.receiveCouponBox {
  padding: 30rpx;
  .ipt-border {
    margin-bottom: 20rpx;
    padding: 18rpx;
  }
}
.top-nav-box {
  background: #f7f7f7;
  color: #000;
  text-align: center;
  position: relative;
  height: 88rpx;
  line-height: 88rpx;
  font-size: 30rpx;
  display: flex;
  padding: 0rpx 16rpx;
  box-shadow: 0px 15px 7px -21px #000;
  .back-icon-box{
	  width: 60rpx;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    .back-icon{
	    display: flex;
	    justify-content: center;
	    align-items: center;
      width: 32rpx;
      height: 30rpx;
    }
  }
  .nav-center {
    flex: 1;
  }
  .nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    .image-wrapper {
      margin-top: 15rpx;
      margin-right: 30rpx;
      width: 50rpx;
      height: 60rpx;
      image {
        width: 100%;
        height: 100%;
      }
    }
    .image-wrapper2 {
      margin-top: 15rpx;
      width: 50rpx;
      height: 60rpx;
      image {
        width: 100%;
        height: 100%;
      }
    }
  }
}
.item-popup {
  margin: 0 auto;
  .item-txt {
    height: 28rpx;
    font-size: 20rpx;
    margin: 0 auto;
    color: #000;
  }
  .img1 {
    width: 330rpx;
    height: 86rpx;
    margin: 0 auto;
    image {
      width: 100%;
      height: 100%;
    }
  }
  .img2 {
    width: 376rpx;
    height: 260rpx;
    margin: 20rpx auto 0;
    image {
      width: 100%;
      height: 100%;
    }
  }
  .img3 {
    width: 200rpx;
    height: 60rpx;
    margin: 15rpx auto;
    image {
      width: 100%;
      height: 100%;
    }
  }
  .img4 {
    width: 40rpx;
    height: 40rpx;
    margin: 20rpx auto;
    image {
      width: 100%;
      height: 100%;
    }
  }
}
</style>
